package com.java.collection.strategy;

public class EnvironmentRole extends AbstractRole {
	private AbstractRole abstractRole;
	public EnvironmentRole(AbstractRole abstractRole){
		this.abstractRole = abstractRole;
	}
	@Override
	public void find() {
		System.out.println("坏境角色...");
		abstractRole.find();
	}

}
